﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace Public
{
    public class KhachHang
    {
        #region Khai báo
        private string _MaKH;
        private string _TenKH;
        private string _SDT;
        private string _Fax;
        private string _DiaChi;
        private int _TT;
        private string _GHNo;
        #endregion

        #region Phương thức get set
        public string MaKH
        {
            get { return _MaKH; }
            set { _MaKH = value; }
        }
        public string TenKH
        {
            get { return _TenKH; }
            set { _TenKH = value; }
        }
        public string SDT
        {
            get { return _SDT; }
            set { _SDT = value; }
        }
        public string Fax
        {
            get { return _Fax; }
            set { _Fax = value; }
        }
        public string DiaChi
        {
            get { return _DiaChi; }
            set { _DiaChi = value; }
        }
        public int TT
        {
            get { return _TT; }
            set { _TT = value; }
        }
        public string GHNo
        {
            get { return _GHNo; }
            set { _GHNo = value; }
        }
        #endregion
        //public KhachHang(string MaKH) { this.MaKH = MaKH; }
        public KhachHang(string Ma, string Ten,string sdt, string fax, string diachi, string ghno  ){
            this.MaKH = Ma;
            this.TenKH = Ten;
            this.SDT = sdt;
            this.Fax = fax;
            this.DiaChi = diachi;
            this.GHNo = ghno;
        }
    }
}
